.class Lcom/waiqin365/lightapp/kehu/share/g;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/share/g;->a:Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/kehu/share/a/e;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/share/a/e;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/g;->a:Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;->a(Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;)Lcom/waiqin365/lightapp/kehu/share/a/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/h;->a()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/e;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/e;->c:Ljava/lang/String;

    if-eqz v0, :cond_0

    const-string/jumbo v2, "0"

    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/e;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/e;->c:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/e;

    const-string/jumbo v2, "1"

    iput-object v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/e;->c:Ljava/lang/String;

    invoke-virtual {v1, p3, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/g;->a:Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;->a(Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;)Lcom/waiqin365/lightapp/kehu/share/a/h;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/share/a/h;->notifyDataSetChanged()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/g;->a:Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;->b(Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_0
    return-void

    :cond_1
    invoke-virtual {v1, p3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/e;

    const-string/jumbo v2, "0"

    iput-object v2, v0, Lcom/waiqin365/lightapp/kehu/share/a/e;->c:Ljava/lang/String;

    invoke-virtual {v1, p3, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/g;->a:Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;->a(Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;)Lcom/waiqin365/lightapp/kehu/share/a/h;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/share/a/h;->notifyDataSetChanged()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/g;->a:Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;->b(Lcom/waiqin365/lightapp/kehu/share/ShareManagerScreeningActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    goto :goto_0
.end method
